import './style/index.less'
// 测试代码
// const food = new Food()
// food.change()
// console.log(food.X, food.Y);
//测试代码，可以通过传参设置最高等级，和多少分升一级
// const scorePanel = new ScorePanel(100,2)
// for (let i = 0; i < 1000; i++) {
//     scorePanel.addScore()
// }

import GameControl from './modules/GameControl';

const gameControl = new GameControl()

// setInterval (() => {
//     console.log(gameControl.direction);

// }, 1000)